package cn.tedu.sk.service;


import cn.tedu.sk.entity.vo.ProductVo;
import cn.tedu.sk.mapper.ProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductService {
    @Autowired
    private ProductMapper productMapper;

    public List<ProductVo> selectAll(){
        return productMapper.selectAll();
    }

}
